package com.xinyan.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinyan.pojo.BaseEntity;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 管理员表
 * </p>
 *
 * @author xzlf
 * @since 2024-03-26 16:37:02
 */
@Getter
@Setter
@TableName("spray_admin")
public class SprayAdmin extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户名
     */
    @TableField("username")
    private String username;

    /**
     * 密码
     */
    @TableField("pwd")
    private String pwd;

    /**
     * 手机号
     */
    @TableField("phone")
    private String phone;

    /**
     * 头像地址
     */
    @TableField("head_url")
    private String headUrl;


}
